#ifndef  __RTI_H
#define  __RTI_H
#include "system.h"
extern volatile UINT8 u8_rtctimer;
extern volatile UINT8 u8_rtctimer_task1m_flag;
//extern UINT32 u32_random_value = 0;
void drv_RTIInit(UINT8 RTI_period_U16);
#pragma CODE_SEG __NEAR_SEG NON_BANKED
__interrupt void isr_RunRTI(void);/* 1ms timer interrupt */   
#pragma CODE_SEG DEFAULT 
#endif                                                  